package com.commerceerp.system.service;

import com.commerceerp.system.entity.ForderInfo;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

public interface ForderService {

    List<Map> getAllForderInfoByStatus(ForderInfo forderInfo);

    Integer updForderStatus(ForderInfo forderInfo);

    Integer saveNewForderInfo(ForderInfo forderInfo);

    Integer saveNewForderRecord(String frForderId, String frPorderId, String frInOut,BigDecimal frMoney,
                                String frRemark);

    List<Map> getAllForderRecord(String frForderId,String frPorderId,BigDecimal frMoney,String frInOut,String beginTime,String endTime);

    Integer updForderToReject(ForderInfo forderInfo);

    List<Map> getCountByForderStatus();

    Map<String,Object> getAllInOutMoney(String frForderId,String frPorderId,BigDecimal frMoney,String frInOut,String beginTime,String endTime);

}
